package com.rpframework.website.device.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.rpframework.core.BaseService;
import com.rpframework.utils.Pager;
import com.rpframework.website.device.dao.IOrderScoreDao;
import com.rpframework.website.device.domain.TOrderScore;

@Service
public class OrderScoreService extends BaseService{
	@Resource public IOrderScoreDao iDao;
	
	public Pager<TOrderScore> getpager(Pager<TOrderScore> pager) {
		long startTime=System.currentTimeMillis();
		List<TOrderScore>  list=iDao.doPager(this.packageMyBatisParam(pager));
		pager.setItemList(list);
		pager.setCostTime(System.currentTimeMillis() - startTime);
		return pager;
	}
}
